package com.ontology.util;
import java.text.SimpleDateFormat;
import java.util.HashMap;
import java.util.Map;
public class OConstants {
	public static final String					TYPE_D				= "D";
	public static final String					TYPE_V				= "V";
	public static final String					TYPE_N				= "N";
	public static final String					TYPE_DN				= "DN";
	public static final String					ELIGIBLE_BLANK_A	= "<blank>";
	public static final String					ELIGIBLE_BLANK_C	= "{blank}";
	public static final String					ELIGIBLE_NULL_A		= "<null>";
	public static final String					ELIGIBLE_NULL_C		= "{null}";
	public static final SimpleDateFormat		DEFAULT_DATE_FORMAT	= new SimpleDateFormat("dd-mm-yy");
	public static final Map<String, ODataType>	KEY_AND_DATA_TYPE_MAP;
	static {
		KEY_AND_DATA_TYPE_MAP = new HashMap<String, ODataType>();
		KEY_AND_DATA_TYPE_MAP.put(TYPE_D, ODataType.DATE);
		KEY_AND_DATA_TYPE_MAP.put(TYPE_V, ODataType.STRING);
		KEY_AND_DATA_TYPE_MAP.put(TYPE_N, ODataType.LONG);
		KEY_AND_DATA_TYPE_MAP.put(TYPE_DN, ODataType.DECIMAL);
	}
}
